package edu.gyc.hiwxm.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ls
 * @since 2020-01-16
 */
@Data
public class VipBooking implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "Id", type = IdType.AUTO)
    private Integer Id;

    private Integer girlId;

    @TableField(exist = false)
    private String girlName;

    private Integer userId;

    private Integer consumptionPrice;

    private String workTime;

    private LocalDateTime transactionTime;


    public Integer getId() {
        return Id;
    }

    public void setId(Integer Id) {
        this.Id = Id;
    }

    public Integer getGirlId() {
        return girlId;
    }

    public void setGirlId(Integer girlId) {
        this.girlId = girlId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getConsumptionPrice() {
        return consumptionPrice;
    }

    public void setConsumptionPrice(Integer consumptionPrice) {
        this.consumptionPrice = consumptionPrice;
    }

    public String getWorkTime() {
        return workTime;
    }

    public void setWorkTime(String workTime) {
        this.workTime = workTime;
    }

    public LocalDateTime getTransactionTime() {
        return transactionTime;
    }

    public void setTransactionTime(LocalDateTime transactionTime) {
        this.transactionTime = transactionTime;
    }

    @Override
    public String toString() {
        return "VipBooking{" +
        "Id=" + Id +
        ", girlId=" + girlId +
        ", userId=" + userId +
        ", consumptionPrice=" + consumptionPrice +
        ", workTime=" + workTime +
        ", transactionTime=" + transactionTime +
        "}";
    }
}
